package net.xinshi.exception;

import net.xinshi.utils.ErrorCode;

public class RestApiValidationRejectedException extends ApiException {
    private static final long serialVersionUID = -8187419409627201848L;

    public RestApiValidationRejectedException(String msg) {
        super(ErrorCode.ERR_REST_INPUT_VALIDATION_REJECTED);
    }

    public RestApiValidationRejectedException(String msg, Throwable cause) {
        super(ErrorCode.ERR_REST_INPUT_VALIDATION_REJECTED.getCode(), msg, cause);
    }
}
